/*Ext.define("Atman.view.ChartView", {
    extend: "Ext.carousel.Carousel",
    xtype: 'chartview',
    config: {
        ui: 'dark',
		direction: 'horizontal',
		draggable: false,
        items: []
    },
    doSetActiveItem: function (activeItem) {
        Ext.getCmp('prevButton').setDisabled(this.getActiveIndex() === 0);
        Ext.getCmp('nextButton').setDisabled(this.getActiveIndex() === this.getMaxItemIndex());
        this.callSuper(arguments);
    }
});*/
Ext.define("Atman.view.ChartView", {
    extend: "Ext.Panel",
    xtype: 'chartview',
    config: {
        layout:{
            type:'card',
            animation:{type:'fade'}
        },
        items: []
    },
    doSetActiveItem: function (activeItem) {
        Ext.getCmp('prevButton').setDisabled(false);
        Ext.getCmp('nextButton').setDisabled(false);
        this.callSuper(arguments);
    }
});